$OpenBSD: patch-libfreeipmi_src_Makefile_in,v 1.2 2012/04/13 20:53:19 sthen Exp $
--- libfreeipmi/src/Makefile.in.orig	Thu Oct 11 16:58:32 2007
+++ libfreeipmi/src/Makefile.in	Fri Apr 13 16:43:57 2012
@@ -186,7 +186,7 @@ LIBIPMICONSOLE_VERSION_INFO = @LIBIPMICONSOLE_VERSION_
 LIBIPMIDETECT_VERSION_INFO = @LIBIPMIDETECT_VERSION_INFO@
 LIBIPMIMONITORING_VERSION_INFO = @LIBIPMIMONITORING_VERSION_INFO@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ @PTHREAD_CFLAGS@ @IOPL_LIBS@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
@@ -319,7 +319,7 @@ libfreeipmi_la_CFLAGS = -Wall
 libfreeipmi_la_CPPFLAGS = \
 	-I$(srcdir)/../include \
 	-I$(srcdir)/../../common/src \
-	-DIPMI_IPCKEY=\"$(localstatedir)/lib/$(PACKAGE_NAME)/ipckey\" \
+	-DIPMI_IPCKEY=\"$(localstatedir)/db/$(PACKAGE_NAME)/ipckey\" \
 	-DIPMI_DEBUG_IPCKEY=\"$(top_builddir)/libfreeipmi/src/ipmi-semaphores.h\" \
 	-D_GNU_SOURCE \
 	-D_REENTRANT
